package com.itheima.service.pms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.pms.PmsProductCategory;

import java.util.List;

public interface ProductCategoryService extends IService<PmsProductCategory> {
    List<PmsProductCategory> selectByParentId(int i);

    List<PmsProductCategory> pageByparentId(int parentId, int pageNum, int pageSize);

    long countByParentId(Integer parentId);

    void updateByIds(List<Integer> ids, Integer navStatus);

    void updateByIds2(List<Integer> ids, Integer showStatus);

    PmsProductCategory getByName(String name);
}
